package com.sl.mes.db.vo;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

public class PdWkgMarExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public PdWkgMarExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table pd_wkg_mar
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public PdWkgMarExample orderBy(String orderByClause) {
        this.setOrderByClause(orderByClause);
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table pd_wkg_mar
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public PdWkgMarExample orderBy(String ... orderByClauses) {
        StringBuffer sb = new StringBuffer();
        for (int i = 0; i < orderByClauses.length; i++) {
            sb.append(orderByClauses[i]);
            if (i < orderByClauses.length - 1) {
                sb.append(" , ");
            }
        }
        this.setOrderByClause(sb.toString());
        return this;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria(this);
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table pd_wkg_mar
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public static Criteria newAndCreateCriteria() {
        PdWkgMarExample example = new PdWkgMarExample();
        return example.createCriteria();
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andPkWkgMarIsNull() {
            addCriterion("pk_wkg_mar is null");
            return (Criteria) this;
        }

        public Criteria andPkWkgMarIsNotNull() {
            addCriterion("pk_wkg_mar is not null");
            return (Criteria) this;
        }

        public Criteria andPkWkgMarEqualTo(String value) {
            addCriterion("pk_wkg_mar =", value, "pkWkgMar");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkWkgMarEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("pk_wkg_mar = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkWkgMarNotEqualTo(String value) {
            addCriterion("pk_wkg_mar <>", value, "pkWkgMar");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkWkgMarNotEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("pk_wkg_mar <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkWkgMarGreaterThan(String value) {
            addCriterion("pk_wkg_mar >", value, "pkWkgMar");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkWkgMarGreaterThanColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("pk_wkg_mar > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkWkgMarGreaterThanOrEqualTo(String value) {
            addCriterion("pk_wkg_mar >=", value, "pkWkgMar");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkWkgMarGreaterThanOrEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("pk_wkg_mar >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkWkgMarLessThan(String value) {
            addCriterion("pk_wkg_mar <", value, "pkWkgMar");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkWkgMarLessThanColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("pk_wkg_mar < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkWkgMarLessThanOrEqualTo(String value) {
            addCriterion("pk_wkg_mar <=", value, "pkWkgMar");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkWkgMarLessThanOrEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("pk_wkg_mar <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkWkgMarLike(String value) {
            addCriterion("pk_wkg_mar like", value, "pkWkgMar");
            return (Criteria) this;
        }

        public Criteria andPkWkgMarNotLike(String value) {
            addCriterion("pk_wkg_mar not like", value, "pkWkgMar");
            return (Criteria) this;
        }

        public Criteria andPkWkgMarIn(List<String> values) {
            addCriterion("pk_wkg_mar in", values, "pkWkgMar");
            return (Criteria) this;
        }

        public Criteria andPkWkgMarNotIn(List<String> values) {
            addCriterion("pk_wkg_mar not in", values, "pkWkgMar");
            return (Criteria) this;
        }

        public Criteria andPkWkgMarBetween(String value1, String value2) {
            addCriterion("pk_wkg_mar between", value1, value2, "pkWkgMar");
            return (Criteria) this;
        }

        public Criteria andPkWkgMarNotBetween(String value1, String value2) {
            addCriterion("pk_wkg_mar not between", value1, value2, "pkWkgMar");
            return (Criteria) this;
        }

        public Criteria andAbilityoccupyIsNull() {
            addCriterion("abilityoccupy is null");
            return (Criteria) this;
        }

        public Criteria andAbilityoccupyIsNotNull() {
            addCriterion("abilityoccupy is not null");
            return (Criteria) this;
        }

        public Criteria andAbilityoccupyEqualTo(Double value) {
            addCriterion("abilityoccupy =", value, "abilityoccupy");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andAbilityoccupyEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("abilityoccupy = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAbilityoccupyNotEqualTo(Double value) {
            addCriterion("abilityoccupy <>", value, "abilityoccupy");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andAbilityoccupyNotEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("abilityoccupy <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAbilityoccupyGreaterThan(Double value) {
            addCriterion("abilityoccupy >", value, "abilityoccupy");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andAbilityoccupyGreaterThanColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("abilityoccupy > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAbilityoccupyGreaterThanOrEqualTo(Double value) {
            addCriterion("abilityoccupy >=", value, "abilityoccupy");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andAbilityoccupyGreaterThanOrEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("abilityoccupy >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAbilityoccupyLessThan(Double value) {
            addCriterion("abilityoccupy <", value, "abilityoccupy");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andAbilityoccupyLessThanColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("abilityoccupy < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAbilityoccupyLessThanOrEqualTo(Double value) {
            addCriterion("abilityoccupy <=", value, "abilityoccupy");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andAbilityoccupyLessThanOrEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("abilityoccupy <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAbilityoccupyIn(List<Double> values) {
            addCriterion("abilityoccupy in", values, "abilityoccupy");
            return (Criteria) this;
        }

        public Criteria andAbilityoccupyNotIn(List<Double> values) {
            addCriterion("abilityoccupy not in", values, "abilityoccupy");
            return (Criteria) this;
        }

        public Criteria andAbilityoccupyBetween(Double value1, Double value2) {
            addCriterion("abilityoccupy between", value1, value2, "abilityoccupy");
            return (Criteria) this;
        }

        public Criteria andAbilityoccupyNotBetween(Double value1, Double value2) {
            addCriterion("abilityoccupy not between", value1, value2, "abilityoccupy");
            return (Criteria) this;
        }

        public Criteria andCastmeasureidIsNull() {
            addCriterion("castmeasureid is null");
            return (Criteria) this;
        }

        public Criteria andCastmeasureidIsNotNull() {
            addCriterion("castmeasureid is not null");
            return (Criteria) this;
        }

        public Criteria andCastmeasureidEqualTo(String value) {
            addCriterion("castmeasureid =", value, "castmeasureid");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andCastmeasureidEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("castmeasureid = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCastmeasureidNotEqualTo(String value) {
            addCriterion("castmeasureid <>", value, "castmeasureid");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andCastmeasureidNotEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("castmeasureid <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCastmeasureidGreaterThan(String value) {
            addCriterion("castmeasureid >", value, "castmeasureid");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andCastmeasureidGreaterThanColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("castmeasureid > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCastmeasureidGreaterThanOrEqualTo(String value) {
            addCriterion("castmeasureid >=", value, "castmeasureid");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andCastmeasureidGreaterThanOrEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("castmeasureid >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCastmeasureidLessThan(String value) {
            addCriterion("castmeasureid <", value, "castmeasureid");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andCastmeasureidLessThanColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("castmeasureid < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCastmeasureidLessThanOrEqualTo(String value) {
            addCriterion("castmeasureid <=", value, "castmeasureid");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andCastmeasureidLessThanOrEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("castmeasureid <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCastmeasureidLike(String value) {
            addCriterion("castmeasureid like", value, "castmeasureid");
            return (Criteria) this;
        }

        public Criteria andCastmeasureidNotLike(String value) {
            addCriterion("castmeasureid not like", value, "castmeasureid");
            return (Criteria) this;
        }

        public Criteria andCastmeasureidIn(List<String> values) {
            addCriterion("castmeasureid in", values, "castmeasureid");
            return (Criteria) this;
        }

        public Criteria andCastmeasureidNotIn(List<String> values) {
            addCriterion("castmeasureid not in", values, "castmeasureid");
            return (Criteria) this;
        }

        public Criteria andCastmeasureidBetween(String value1, String value2) {
            addCriterion("castmeasureid between", value1, value2, "castmeasureid");
            return (Criteria) this;
        }

        public Criteria andCastmeasureidNotBetween(String value1, String value2) {
            addCriterion("castmeasureid not between", value1, value2, "castmeasureid");
            return (Criteria) this;
        }

        public Criteria andCmaterialclassidIsNull() {
            addCriterion("cmaterialclassid is null");
            return (Criteria) this;
        }

        public Criteria andCmaterialclassidIsNotNull() {
            addCriterion("cmaterialclassid is not null");
            return (Criteria) this;
        }

        public Criteria andCmaterialclassidEqualTo(String value) {
            addCriterion("cmaterialclassid =", value, "cmaterialclassid");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andCmaterialclassidEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("cmaterialclassid = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCmaterialclassidNotEqualTo(String value) {
            addCriterion("cmaterialclassid <>", value, "cmaterialclassid");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andCmaterialclassidNotEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("cmaterialclassid <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCmaterialclassidGreaterThan(String value) {
            addCriterion("cmaterialclassid >", value, "cmaterialclassid");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andCmaterialclassidGreaterThanColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("cmaterialclassid > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCmaterialclassidGreaterThanOrEqualTo(String value) {
            addCriterion("cmaterialclassid >=", value, "cmaterialclassid");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andCmaterialclassidGreaterThanOrEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("cmaterialclassid >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCmaterialclassidLessThan(String value) {
            addCriterion("cmaterialclassid <", value, "cmaterialclassid");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andCmaterialclassidLessThanColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("cmaterialclassid < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCmaterialclassidLessThanOrEqualTo(String value) {
            addCriterion("cmaterialclassid <=", value, "cmaterialclassid");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andCmaterialclassidLessThanOrEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("cmaterialclassid <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCmaterialclassidLike(String value) {
            addCriterion("cmaterialclassid like", value, "cmaterialclassid");
            return (Criteria) this;
        }

        public Criteria andCmaterialclassidNotLike(String value) {
            addCriterion("cmaterialclassid not like", value, "cmaterialclassid");
            return (Criteria) this;
        }

        public Criteria andCmaterialclassidIn(List<String> values) {
            addCriterion("cmaterialclassid in", values, "cmaterialclassid");
            return (Criteria) this;
        }

        public Criteria andCmaterialclassidNotIn(List<String> values) {
            addCriterion("cmaterialclassid not in", values, "cmaterialclassid");
            return (Criteria) this;
        }

        public Criteria andCmaterialclassidBetween(String value1, String value2) {
            addCriterion("cmaterialclassid between", value1, value2, "cmaterialclassid");
            return (Criteria) this;
        }

        public Criteria andCmaterialclassidNotBetween(String value1, String value2) {
            addCriterion("cmaterialclassid not between", value1, value2, "cmaterialclassid");
            return (Criteria) this;
        }

        public Criteria andCmaterialidIsNull() {
            addCriterion("cmaterialid is null");
            return (Criteria) this;
        }

        public Criteria andCmaterialidIsNotNull() {
            addCriterion("cmaterialid is not null");
            return (Criteria) this;
        }

        public Criteria andCmaterialidEqualTo(String value) {
            addCriterion("cmaterialid =", value, "cmaterialid");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andCmaterialidEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("cmaterialid = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCmaterialidNotEqualTo(String value) {
            addCriterion("cmaterialid <>", value, "cmaterialid");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andCmaterialidNotEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("cmaterialid <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCmaterialidGreaterThan(String value) {
            addCriterion("cmaterialid >", value, "cmaterialid");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andCmaterialidGreaterThanColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("cmaterialid > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCmaterialidGreaterThanOrEqualTo(String value) {
            addCriterion("cmaterialid >=", value, "cmaterialid");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andCmaterialidGreaterThanOrEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("cmaterialid >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCmaterialidLessThan(String value) {
            addCriterion("cmaterialid <", value, "cmaterialid");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andCmaterialidLessThanColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("cmaterialid < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCmaterialidLessThanOrEqualTo(String value) {
            addCriterion("cmaterialid <=", value, "cmaterialid");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andCmaterialidLessThanOrEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("cmaterialid <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCmaterialidLike(String value) {
            addCriterion("cmaterialid like", value, "cmaterialid");
            return (Criteria) this;
        }

        public Criteria andCmaterialidNotLike(String value) {
            addCriterion("cmaterialid not like", value, "cmaterialid");
            return (Criteria) this;
        }

        public Criteria andCmaterialidIn(List<String> values) {
            addCriterion("cmaterialid in", values, "cmaterialid");
            return (Criteria) this;
        }

        public Criteria andCmaterialidNotIn(List<String> values) {
            addCriterion("cmaterialid not in", values, "cmaterialid");
            return (Criteria) this;
        }

        public Criteria andCmaterialidBetween(String value1, String value2) {
            addCriterion("cmaterialid between", value1, value2, "cmaterialid");
            return (Criteria) this;
        }

        public Criteria andCmaterialidNotBetween(String value1, String value2) {
            addCriterion("cmaterialid not between", value1, value2, "cmaterialid");
            return (Criteria) this;
        }

        public Criteria andCmaterialvidIsNull() {
            addCriterion("cmaterialvid is null");
            return (Criteria) this;
        }

        public Criteria andCmaterialvidIsNotNull() {
            addCriterion("cmaterialvid is not null");
            return (Criteria) this;
        }

        public Criteria andCmaterialvidEqualTo(String value) {
            addCriterion("cmaterialvid =", value, "cmaterialvid");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andCmaterialvidEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("cmaterialvid = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCmaterialvidNotEqualTo(String value) {
            addCriterion("cmaterialvid <>", value, "cmaterialvid");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andCmaterialvidNotEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("cmaterialvid <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCmaterialvidGreaterThan(String value) {
            addCriterion("cmaterialvid >", value, "cmaterialvid");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andCmaterialvidGreaterThanColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("cmaterialvid > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCmaterialvidGreaterThanOrEqualTo(String value) {
            addCriterion("cmaterialvid >=", value, "cmaterialvid");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andCmaterialvidGreaterThanOrEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("cmaterialvid >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCmaterialvidLessThan(String value) {
            addCriterion("cmaterialvid <", value, "cmaterialvid");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andCmaterialvidLessThanColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("cmaterialvid < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCmaterialvidLessThanOrEqualTo(String value) {
            addCriterion("cmaterialvid <=", value, "cmaterialvid");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andCmaterialvidLessThanOrEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("cmaterialvid <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCmaterialvidLike(String value) {
            addCriterion("cmaterialvid like", value, "cmaterialvid");
            return (Criteria) this;
        }

        public Criteria andCmaterialvidNotLike(String value) {
            addCriterion("cmaterialvid not like", value, "cmaterialvid");
            return (Criteria) this;
        }

        public Criteria andCmaterialvidIn(List<String> values) {
            addCriterion("cmaterialvid in", values, "cmaterialvid");
            return (Criteria) this;
        }

        public Criteria andCmaterialvidNotIn(List<String> values) {
            addCriterion("cmaterialvid not in", values, "cmaterialvid");
            return (Criteria) this;
        }

        public Criteria andCmaterialvidBetween(String value1, String value2) {
            addCriterion("cmaterialvid between", value1, value2, "cmaterialvid");
            return (Criteria) this;
        }

        public Criteria andCmaterialvidNotBetween(String value1, String value2) {
            addCriterion("cmaterialvid not between", value1, value2, "cmaterialvid");
            return (Criteria) this;
        }

        public Criteria andCmeasureidIsNull() {
            addCriterion("cmeasureid is null");
            return (Criteria) this;
        }

        public Criteria andCmeasureidIsNotNull() {
            addCriterion("cmeasureid is not null");
            return (Criteria) this;
        }

        public Criteria andCmeasureidEqualTo(String value) {
            addCriterion("cmeasureid =", value, "cmeasureid");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andCmeasureidEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("cmeasureid = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCmeasureidNotEqualTo(String value) {
            addCriterion("cmeasureid <>", value, "cmeasureid");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andCmeasureidNotEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("cmeasureid <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCmeasureidGreaterThan(String value) {
            addCriterion("cmeasureid >", value, "cmeasureid");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andCmeasureidGreaterThanColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("cmeasureid > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCmeasureidGreaterThanOrEqualTo(String value) {
            addCriterion("cmeasureid >=", value, "cmeasureid");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andCmeasureidGreaterThanOrEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("cmeasureid >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCmeasureidLessThan(String value) {
            addCriterion("cmeasureid <", value, "cmeasureid");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andCmeasureidLessThanColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("cmeasureid < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCmeasureidLessThanOrEqualTo(String value) {
            addCriterion("cmeasureid <=", value, "cmeasureid");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andCmeasureidLessThanOrEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("cmeasureid <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCmeasureidLike(String value) {
            addCriterion("cmeasureid like", value, "cmeasureid");
            return (Criteria) this;
        }

        public Criteria andCmeasureidNotLike(String value) {
            addCriterion("cmeasureid not like", value, "cmeasureid");
            return (Criteria) this;
        }

        public Criteria andCmeasureidIn(List<String> values) {
            addCriterion("cmeasureid in", values, "cmeasureid");
            return (Criteria) this;
        }

        public Criteria andCmeasureidNotIn(List<String> values) {
            addCriterion("cmeasureid not in", values, "cmeasureid");
            return (Criteria) this;
        }

        public Criteria andCmeasureidBetween(String value1, String value2) {
            addCriterion("cmeasureid between", value1, value2, "cmeasureid");
            return (Criteria) this;
        }

        public Criteria andCmeasureidNotBetween(String value1, String value2) {
            addCriterion("cmeasureid not between", value1, value2, "cmeasureid");
            return (Criteria) this;
        }

        public Criteria andDrIsNull() {
            addCriterion("dr is null");
            return (Criteria) this;
        }

        public Criteria andDrIsNotNull() {
            addCriterion("dr is not null");
            return (Criteria) this;
        }

        public Criteria andDrEqualTo(Integer value) {
            addCriterion("dr =", value, "dr");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andDrEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("dr = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDrNotEqualTo(Integer value) {
            addCriterion("dr <>", value, "dr");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andDrNotEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("dr <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDrGreaterThan(Integer value) {
            addCriterion("dr >", value, "dr");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andDrGreaterThanColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("dr > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDrGreaterThanOrEqualTo(Integer value) {
            addCriterion("dr >=", value, "dr");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andDrGreaterThanOrEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("dr >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDrLessThan(Integer value) {
            addCriterion("dr <", value, "dr");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andDrLessThanColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("dr < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDrLessThanOrEqualTo(Integer value) {
            addCriterion("dr <=", value, "dr");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andDrLessThanOrEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("dr <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDrIn(List<Integer> values) {
            addCriterion("dr in", values, "dr");
            return (Criteria) this;
        }

        public Criteria andDrNotIn(List<Integer> values) {
            addCriterion("dr not in", values, "dr");
            return (Criteria) this;
        }

        public Criteria andDrBetween(Integer value1, Integer value2) {
            addCriterion("dr between", value1, value2, "dr");
            return (Criteria) this;
        }

        public Criteria andDrNotBetween(Integer value1, Integer value2) {
            addCriterion("dr not between", value1, value2, "dr");
            return (Criteria) this;
        }

        public Criteria andInnercodeIsNull() {
            addCriterion("innercode is null");
            return (Criteria) this;
        }

        public Criteria andInnercodeIsNotNull() {
            addCriterion("innercode is not null");
            return (Criteria) this;
        }

        public Criteria andInnercodeEqualTo(String value) {
            addCriterion("innercode =", value, "innercode");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andInnercodeEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("innercode = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andInnercodeNotEqualTo(String value) {
            addCriterion("innercode <>", value, "innercode");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andInnercodeNotEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("innercode <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andInnercodeGreaterThan(String value) {
            addCriterion("innercode >", value, "innercode");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andInnercodeGreaterThanColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("innercode > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andInnercodeGreaterThanOrEqualTo(String value) {
            addCriterion("innercode >=", value, "innercode");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andInnercodeGreaterThanOrEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("innercode >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andInnercodeLessThan(String value) {
            addCriterion("innercode <", value, "innercode");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andInnercodeLessThanColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("innercode < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andInnercodeLessThanOrEqualTo(String value) {
            addCriterion("innercode <=", value, "innercode");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andInnercodeLessThanOrEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("innercode <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andInnercodeLike(String value) {
            addCriterion("innercode like", value, "innercode");
            return (Criteria) this;
        }

        public Criteria andInnercodeNotLike(String value) {
            addCriterion("innercode not like", value, "innercode");
            return (Criteria) this;
        }

        public Criteria andInnercodeIn(List<String> values) {
            addCriterion("innercode in", values, "innercode");
            return (Criteria) this;
        }

        public Criteria andInnercodeNotIn(List<String> values) {
            addCriterion("innercode not in", values, "innercode");
            return (Criteria) this;
        }

        public Criteria andInnercodeBetween(String value1, String value2) {
            addCriterion("innercode between", value1, value2, "innercode");
            return (Criteria) this;
        }

        public Criteria andInnercodeNotBetween(String value1, String value2) {
            addCriterion("innercode not between", value1, value2, "innercode");
            return (Criteria) this;
        }

        public Criteria andNastnumIsNull() {
            addCriterion("nastnum is null");
            return (Criteria) this;
        }

        public Criteria andNastnumIsNotNull() {
            addCriterion("nastnum is not null");
            return (Criteria) this;
        }

        public Criteria andNastnumEqualTo(Double value) {
            addCriterion("nastnum =", value, "nastnum");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andNastnumEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("nastnum = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNastnumNotEqualTo(Double value) {
            addCriterion("nastnum <>", value, "nastnum");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andNastnumNotEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("nastnum <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNastnumGreaterThan(Double value) {
            addCriterion("nastnum >", value, "nastnum");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andNastnumGreaterThanColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("nastnum > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNastnumGreaterThanOrEqualTo(Double value) {
            addCriterion("nastnum >=", value, "nastnum");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andNastnumGreaterThanOrEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("nastnum >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNastnumLessThan(Double value) {
            addCriterion("nastnum <", value, "nastnum");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andNastnumLessThanColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("nastnum < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNastnumLessThanOrEqualTo(Double value) {
            addCriterion("nastnum <=", value, "nastnum");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andNastnumLessThanOrEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("nastnum <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNastnumIn(List<Double> values) {
            addCriterion("nastnum in", values, "nastnum");
            return (Criteria) this;
        }

        public Criteria andNastnumNotIn(List<Double> values) {
            addCriterion("nastnum not in", values, "nastnum");
            return (Criteria) this;
        }

        public Criteria andNastnumBetween(Double value1, Double value2) {
            addCriterion("nastnum between", value1, value2, "nastnum");
            return (Criteria) this;
        }

        public Criteria andNastnumNotBetween(Double value1, Double value2) {
            addCriterion("nastnum not between", value1, value2, "nastnum");
            return (Criteria) this;
        }

        public Criteria andNnumIsNull() {
            addCriterion("nnum is null");
            return (Criteria) this;
        }

        public Criteria andNnumIsNotNull() {
            addCriterion("nnum is not null");
            return (Criteria) this;
        }

        public Criteria andNnumEqualTo(Double value) {
            addCriterion("nnum =", value, "nnum");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andNnumEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("nnum = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNnumNotEqualTo(Double value) {
            addCriterion("nnum <>", value, "nnum");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andNnumNotEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("nnum <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNnumGreaterThan(Double value) {
            addCriterion("nnum >", value, "nnum");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andNnumGreaterThanColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("nnum > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNnumGreaterThanOrEqualTo(Double value) {
            addCriterion("nnum >=", value, "nnum");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andNnumGreaterThanOrEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("nnum >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNnumLessThan(Double value) {
            addCriterion("nnum <", value, "nnum");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andNnumLessThanColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("nnum < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNnumLessThanOrEqualTo(Double value) {
            addCriterion("nnum <=", value, "nnum");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andNnumLessThanOrEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("nnum <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNnumIn(List<Double> values) {
            addCriterion("nnum in", values, "nnum");
            return (Criteria) this;
        }

        public Criteria andNnumNotIn(List<Double> values) {
            addCriterion("nnum not in", values, "nnum");
            return (Criteria) this;
        }

        public Criteria andNnumBetween(Double value1, Double value2) {
            addCriterion("nnum between", value1, value2, "nnum");
            return (Criteria) this;
        }

        public Criteria andNnumNotBetween(Double value1, Double value2) {
            addCriterion("nnum not between", value1, value2, "nnum");
            return (Criteria) this;
        }

        public Criteria andPkGroupIsNull() {
            addCriterion("pk_group is null");
            return (Criteria) this;
        }

        public Criteria andPkGroupIsNotNull() {
            addCriterion("pk_group is not null");
            return (Criteria) this;
        }

        public Criteria andPkGroupEqualTo(String value) {
            addCriterion("pk_group =", value, "pkGroup");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkGroupEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("pk_group = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkGroupNotEqualTo(String value) {
            addCriterion("pk_group <>", value, "pkGroup");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkGroupNotEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("pk_group <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkGroupGreaterThan(String value) {
            addCriterion("pk_group >", value, "pkGroup");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkGroupGreaterThanColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("pk_group > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkGroupGreaterThanOrEqualTo(String value) {
            addCriterion("pk_group >=", value, "pkGroup");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkGroupGreaterThanOrEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("pk_group >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkGroupLessThan(String value) {
            addCriterion("pk_group <", value, "pkGroup");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkGroupLessThanColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("pk_group < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkGroupLessThanOrEqualTo(String value) {
            addCriterion("pk_group <=", value, "pkGroup");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkGroupLessThanOrEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("pk_group <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkGroupLike(String value) {
            addCriterion("pk_group like", value, "pkGroup");
            return (Criteria) this;
        }

        public Criteria andPkGroupNotLike(String value) {
            addCriterion("pk_group not like", value, "pkGroup");
            return (Criteria) this;
        }

        public Criteria andPkGroupIn(List<String> values) {
            addCriterion("pk_group in", values, "pkGroup");
            return (Criteria) this;
        }

        public Criteria andPkGroupNotIn(List<String> values) {
            addCriterion("pk_group not in", values, "pkGroup");
            return (Criteria) this;
        }

        public Criteria andPkGroupBetween(String value1, String value2) {
            addCriterion("pk_group between", value1, value2, "pkGroup");
            return (Criteria) this;
        }

        public Criteria andPkGroupNotBetween(String value1, String value2) {
            addCriterion("pk_group not between", value1, value2, "pkGroup");
            return (Criteria) this;
        }

        public Criteria andPkOrgIsNull() {
            addCriterion("pk_org is null");
            return (Criteria) this;
        }

        public Criteria andPkOrgIsNotNull() {
            addCriterion("pk_org is not null");
            return (Criteria) this;
        }

        public Criteria andPkOrgEqualTo(String value) {
            addCriterion("pk_org =", value, "pkOrg");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkOrgEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("pk_org = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkOrgNotEqualTo(String value) {
            addCriterion("pk_org <>", value, "pkOrg");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkOrgNotEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("pk_org <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkOrgGreaterThan(String value) {
            addCriterion("pk_org >", value, "pkOrg");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkOrgGreaterThanColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("pk_org > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkOrgGreaterThanOrEqualTo(String value) {
            addCriterion("pk_org >=", value, "pkOrg");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkOrgGreaterThanOrEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("pk_org >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkOrgLessThan(String value) {
            addCriterion("pk_org <", value, "pkOrg");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkOrgLessThanColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("pk_org < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkOrgLessThanOrEqualTo(String value) {
            addCriterion("pk_org <=", value, "pkOrg");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkOrgLessThanOrEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("pk_org <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkOrgLike(String value) {
            addCriterion("pk_org like", value, "pkOrg");
            return (Criteria) this;
        }

        public Criteria andPkOrgNotLike(String value) {
            addCriterion("pk_org not like", value, "pkOrg");
            return (Criteria) this;
        }

        public Criteria andPkOrgIn(List<String> values) {
            addCriterion("pk_org in", values, "pkOrg");
            return (Criteria) this;
        }

        public Criteria andPkOrgNotIn(List<String> values) {
            addCriterion("pk_org not in", values, "pkOrg");
            return (Criteria) this;
        }

        public Criteria andPkOrgBetween(String value1, String value2) {
            addCriterion("pk_org between", value1, value2, "pkOrg");
            return (Criteria) this;
        }

        public Criteria andPkOrgNotBetween(String value1, String value2) {
            addCriterion("pk_org not between", value1, value2, "pkOrg");
            return (Criteria) this;
        }

        public Criteria andPkOrgVIsNull() {
            addCriterion("pk_org_v is null");
            return (Criteria) this;
        }

        public Criteria andPkOrgVIsNotNull() {
            addCriterion("pk_org_v is not null");
            return (Criteria) this;
        }

        public Criteria andPkOrgVEqualTo(String value) {
            addCriterion("pk_org_v =", value, "pkOrgV");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkOrgVEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("pk_org_v = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkOrgVNotEqualTo(String value) {
            addCriterion("pk_org_v <>", value, "pkOrgV");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkOrgVNotEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("pk_org_v <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkOrgVGreaterThan(String value) {
            addCriterion("pk_org_v >", value, "pkOrgV");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkOrgVGreaterThanColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("pk_org_v > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkOrgVGreaterThanOrEqualTo(String value) {
            addCriterion("pk_org_v >=", value, "pkOrgV");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkOrgVGreaterThanOrEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("pk_org_v >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkOrgVLessThan(String value) {
            addCriterion("pk_org_v <", value, "pkOrgV");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkOrgVLessThanColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("pk_org_v < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkOrgVLessThanOrEqualTo(String value) {
            addCriterion("pk_org_v <=", value, "pkOrgV");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkOrgVLessThanOrEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("pk_org_v <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkOrgVLike(String value) {
            addCriterion("pk_org_v like", value, "pkOrgV");
            return (Criteria) this;
        }

        public Criteria andPkOrgVNotLike(String value) {
            addCriterion("pk_org_v not like", value, "pkOrgV");
            return (Criteria) this;
        }

        public Criteria andPkOrgVIn(List<String> values) {
            addCriterion("pk_org_v in", values, "pkOrgV");
            return (Criteria) this;
        }

        public Criteria andPkOrgVNotIn(List<String> values) {
            addCriterion("pk_org_v not in", values, "pkOrgV");
            return (Criteria) this;
        }

        public Criteria andPkOrgVBetween(String value1, String value2) {
            addCriterion("pk_org_v between", value1, value2, "pkOrgV");
            return (Criteria) this;
        }

        public Criteria andPkOrgVNotBetween(String value1, String value2) {
            addCriterion("pk_org_v not between", value1, value2, "pkOrgV");
            return (Criteria) this;
        }

        public Criteria andPkWkgidIsNull() {
            addCriterion("pk_wkgid is null");
            return (Criteria) this;
        }

        public Criteria andPkWkgidIsNotNull() {
            addCriterion("pk_wkgid is not null");
            return (Criteria) this;
        }

        public Criteria andPkWkgidEqualTo(String value) {
            addCriterion("pk_wkgid =", value, "pkWkgid");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkWkgidEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("pk_wkgid = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkWkgidNotEqualTo(String value) {
            addCriterion("pk_wkgid <>", value, "pkWkgid");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkWkgidNotEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("pk_wkgid <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkWkgidGreaterThan(String value) {
            addCriterion("pk_wkgid >", value, "pkWkgid");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkWkgidGreaterThanColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("pk_wkgid > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkWkgidGreaterThanOrEqualTo(String value) {
            addCriterion("pk_wkgid >=", value, "pkWkgid");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkWkgidGreaterThanOrEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("pk_wkgid >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkWkgidLessThan(String value) {
            addCriterion("pk_wkgid <", value, "pkWkgid");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkWkgidLessThanColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("pk_wkgid < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkWkgidLessThanOrEqualTo(String value) {
            addCriterion("pk_wkgid <=", value, "pkWkgid");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andPkWkgidLessThanOrEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("pk_wkgid <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPkWkgidLike(String value) {
            addCriterion("pk_wkgid like", value, "pkWkgid");
            return (Criteria) this;
        }

        public Criteria andPkWkgidNotLike(String value) {
            addCriterion("pk_wkgid not like", value, "pkWkgid");
            return (Criteria) this;
        }

        public Criteria andPkWkgidIn(List<String> values) {
            addCriterion("pk_wkgid in", values, "pkWkgid");
            return (Criteria) this;
        }

        public Criteria andPkWkgidNotIn(List<String> values) {
            addCriterion("pk_wkgid not in", values, "pkWkgid");
            return (Criteria) this;
        }

        public Criteria andPkWkgidBetween(String value1, String value2) {
            addCriterion("pk_wkgid between", value1, value2, "pkWkgid");
            return (Criteria) this;
        }

        public Criteria andPkWkgidNotBetween(String value1, String value2) {
            addCriterion("pk_wkgid not between", value1, value2, "pkWkgid");
            return (Criteria) this;
        }

        public Criteria andTimeunitIsNull() {
            addCriterion("timeunit is null");
            return (Criteria) this;
        }

        public Criteria andTimeunitIsNotNull() {
            addCriterion("timeunit is not null");
            return (Criteria) this;
        }

        public Criteria andTimeunitEqualTo(Integer value) {
            addCriterion("timeunit =", value, "timeunit");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andTimeunitEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("timeunit = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTimeunitNotEqualTo(Integer value) {
            addCriterion("timeunit <>", value, "timeunit");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andTimeunitNotEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("timeunit <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTimeunitGreaterThan(Integer value) {
            addCriterion("timeunit >", value, "timeunit");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andTimeunitGreaterThanColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("timeunit > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTimeunitGreaterThanOrEqualTo(Integer value) {
            addCriterion("timeunit >=", value, "timeunit");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andTimeunitGreaterThanOrEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("timeunit >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTimeunitLessThan(Integer value) {
            addCriterion("timeunit <", value, "timeunit");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andTimeunitLessThanColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("timeunit < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTimeunitLessThanOrEqualTo(Integer value) {
            addCriterion("timeunit <=", value, "timeunit");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andTimeunitLessThanOrEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("timeunit <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTimeunitIn(List<Integer> values) {
            addCriterion("timeunit in", values, "timeunit");
            return (Criteria) this;
        }

        public Criteria andTimeunitNotIn(List<Integer> values) {
            addCriterion("timeunit not in", values, "timeunit");
            return (Criteria) this;
        }

        public Criteria andTimeunitBetween(Integer value1, Integer value2) {
            addCriterion("timeunit between", value1, value2, "timeunit");
            return (Criteria) this;
        }

        public Criteria andTimeunitNotBetween(Integer value1, Integer value2) {
            addCriterion("timeunit not between", value1, value2, "timeunit");
            return (Criteria) this;
        }

        public Criteria andTsIsNull() {
            addCriterion("ts is null");
            return (Criteria) this;
        }

        public Criteria andTsIsNotNull() {
            addCriterion("ts is not null");
            return (Criteria) this;
        }

        public Criteria andTsEqualTo(LocalDateTime value) {
            addCriterion("ts =", value, "ts");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andTsEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("ts = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTsNotEqualTo(LocalDateTime value) {
            addCriterion("ts <>", value, "ts");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andTsNotEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("ts <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTsGreaterThan(LocalDateTime value) {
            addCriterion("ts >", value, "ts");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andTsGreaterThanColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("ts > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTsGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("ts >=", value, "ts");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andTsGreaterThanOrEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("ts >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTsLessThan(LocalDateTime value) {
            addCriterion("ts <", value, "ts");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andTsLessThanColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("ts < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTsLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("ts <=", value, "ts");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andTsLessThanOrEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("ts <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTsIn(List<LocalDateTime> values) {
            addCriterion("ts in", values, "ts");
            return (Criteria) this;
        }

        public Criteria andTsNotIn(List<LocalDateTime> values) {
            addCriterion("ts not in", values, "ts");
            return (Criteria) this;
        }

        public Criteria andTsBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("ts between", value1, value2, "ts");
            return (Criteria) this;
        }

        public Criteria andTsNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("ts not between", value1, value2, "ts");
            return (Criteria) this;
        }

        public Criteria andVchangerateIsNull() {
            addCriterion("vchangerate is null");
            return (Criteria) this;
        }

        public Criteria andVchangerateIsNotNull() {
            addCriterion("vchangerate is not null");
            return (Criteria) this;
        }

        public Criteria andVchangerateEqualTo(String value) {
            addCriterion("vchangerate =", value, "vchangerate");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andVchangerateEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("vchangerate = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andVchangerateNotEqualTo(String value) {
            addCriterion("vchangerate <>", value, "vchangerate");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andVchangerateNotEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("vchangerate <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andVchangerateGreaterThan(String value) {
            addCriterion("vchangerate >", value, "vchangerate");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andVchangerateGreaterThanColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("vchangerate > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andVchangerateGreaterThanOrEqualTo(String value) {
            addCriterion("vchangerate >=", value, "vchangerate");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andVchangerateGreaterThanOrEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("vchangerate >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andVchangerateLessThan(String value) {
            addCriterion("vchangerate <", value, "vchangerate");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andVchangerateLessThanColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("vchangerate < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andVchangerateLessThanOrEqualTo(String value) {
            addCriterion("vchangerate <=", value, "vchangerate");
            return (Criteria) this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andVchangerateLessThanOrEqualToColumn(PdWkgMar.Column column) {
            addCriterion(new StringBuilder("vchangerate <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andVchangerateLike(String value) {
            addCriterion("vchangerate like", value, "vchangerate");
            return (Criteria) this;
        }

        public Criteria andVchangerateNotLike(String value) {
            addCriterion("vchangerate not like", value, "vchangerate");
            return (Criteria) this;
        }

        public Criteria andVchangerateIn(List<String> values) {
            addCriterion("vchangerate in", values, "vchangerate");
            return (Criteria) this;
        }

        public Criteria andVchangerateNotIn(List<String> values) {
            addCriterion("vchangerate not in", values, "vchangerate");
            return (Criteria) this;
        }

        public Criteria andVchangerateBetween(String value1, String value2) {
            addCriterion("vchangerate between", value1, value2, "vchangerate");
            return (Criteria) this;
        }

        public Criteria andVchangerateNotBetween(String value1, String value2) {
            addCriterion("vchangerate not between", value1, value2, "vchangerate");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        private PdWkgMarExample example;

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        protected Criteria(PdWkgMarExample example) {
            super();
            this.example = example;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public PdWkgMarExample example() {
            return this.example;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
            if (ifAdd) {
                add.add(this);
            }
            return this;
        }

        /**
         * This interface was generated by MyBatis Generator.
         * This interface corresponds to the database table pd_wkg_mar
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public interface ICriteriaAdd {
            /**
             * This method was generated by MyBatis Generator.
             * This method corresponds to the database table pd_wkg_mar
             *
             * @mbg.generated
             * @project https://github.com/itfsw/mybatis-generator-plugin
             */
            Criteria add(Criteria add);
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}